package com.xiaoyi.library.service;

import com.xiaoyi.library.pojo.Book;

import java.util.List;

public interface BookService {
    List<Book> find();

    List<Book> findByName(String bookName);

    boolean deleteById(int bookId);

    boolean insert(Book book);

    boolean update(Book book);
}

